[INFO] fetching crate goscript-types 0.1.0...
[INFO] testing goscript-types-0.1.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] extracting crate goscript-types 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate goscript-types 0.1.0
[INFO] finished tweaking crates.io crate goscript-types 0.1.0
[INFO] tweaked toml for crates.io crate goscript-types 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate goscript-types 0.1.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 13 packages to latest compatible versions
[INFO] [stderr]       Adding num-bigint v0.2.6 (available: v0.4.6)
[INFO] [stderr]       Adding num-rational v0.2.4 (available: v0.4.2)
[INFO] [stderr]       Adding ordered-float v2.10.1 (available: v5.2.0)
[INFO] [stderr]       Adding slotmap v0.4.3 (available: v1.1.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded slotmap v0.4.3
[INFO] [stderr]   Downloaded goscript-parser v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7cc8a758fe2fe6b02b64c673cbbd4033d4e4ef90e97f9c94ed05d003c3b86e48
[INFO] running `Command { std: "docker" "start" "-a" "7cc8a758fe2fe6b02b64c673cbbd4033d4e4ef90e97f9c94ed05d003c3b86e48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cc8a758fe2fe6b02b64c673cbbd4033d4e4ef90e97f9c94ed05d003c3b86e48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cc8a758fe2fe6b02b64c673cbbd4033d4e4ef90e97f9c94ed05d003c3b86e48", kill_on_drop: false }`
[INFO] [stdout] 7cc8a758fe2fe6b02b64c673cbbd4033d4e4ef90e97f9c94ed05d003c3b86e48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b49905643d279a909bc3efd0cc6fb824953815b7b855f6852d2bb071bf5ea80b
[INFO] running `Command { std: "docker" "start" "-a" "b49905643d279a909bc3efd0cc6fb824953815b7b855f6852d2bb071bf5ea80b", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling slotmap v0.4.3
[INFO] [stderr]    Compiling ordered-float v2.10.1
[INFO] [stderr]    Compiling goscript-parser v0.1.0
[INFO] [stderr]    Compiling goscript-types v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `check::Checker`
[INFO] [stdout]   --> src/check/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use check::Checker;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IfaceInfo`
[INFO] [stdout]   --> src/check/mod.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use interface::{IfaceInfo, MethodInfo};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/constant.rs:223:19
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub fn to_int(&self) -> Cow<Value> {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub fn to_int(&self) -> Cow<'_, Value> {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/obj.rs:341:15
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<str> {
[INFO] [stdout]     |               ^^^^^                       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/objects.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<str> {
[INFO] [stdout]    |                             ^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/typ.rs:748:24
[INFO] [stdout]     |
[INFO] [stdout] 748 |     pub fn all_methods(&self) -> Ref<Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 748 |     pub fn all_methods(&self) -> Ref<'_, Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/typ.rs:752:28
[INFO] [stdout]     |
[INFO] [stdout] 752 |     pub fn all_methods_mut(&self) -> RefMut<Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                            ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 752 |     pub fn all_methods_mut(&self) -> RefMut<'_, Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/check/check.rs:450:25
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer {
[INFO] [stdout]     |                         ^^^^^^^^^               ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> {
[INFO] [stdout]     |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:621:61
[INFO] [stdout]     |
[INFO] [stdout] 621 |         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stdout]     |                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 621 -         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stdout] 621 +         if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stdout]    --> src/check/interface.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 + #[derive(Clone)]
[INFO] [stdout] 132 | pub struct IfaceInfo {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:643:55
[INFO] [stdout]     |
[INFO] [stdout] 643 |         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stdout]     |                                                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 643 -         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stdout] 643 +         let info_ref = info.as_ref().unwrap().as_ref();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stdout]    --> src/check/interface.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 + #[derive(Clone)]
[INFO] [stdout] 132 | pub struct IfaceInfo {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:702:9
[INFO] [stdout]     |
[INFO] [stdout] 702 |         drop(info_ref);
[INFO] [stdout]     |         ^^^^^--------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&IfaceInfo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 702 -         drop(info_ref);
[INFO] [stdout] 702 +         let _ = info_ref;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.56s
[INFO] running `Command { std: "docker" "inspect" "b49905643d279a909bc3efd0cc6fb824953815b7b855f6852d2bb071bf5ea80b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b49905643d279a909bc3efd0cc6fb824953815b7b855f6852d2bb071bf5ea80b", kill_on_drop: false }`
[INFO] [stdout] b49905643d279a909bc3efd0cc6fb824953815b7b855f6852d2bb071bf5ea80b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a0e8fc084e51029cc1a936d9338162c3252d33ad66244402ff87738fdfbf147f
[INFO] running `Command { std: "docker" "start" "-a" "a0e8fc084e51029cc1a936d9338162c3252d33ad66244402ff87738fdfbf147f", kill_on_drop: false }`
[INFO] [stderr]    Compiling goscript-types v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `check::Checker`
[INFO] [stdout]   --> src/check/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use check::Checker;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IfaceInfo`
[INFO] [stdout]   --> src/check/mod.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use interface::{IfaceInfo, MethodInfo};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/constant.rs:223:19
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub fn to_int(&self) -> Cow<Value> {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub fn to_int(&self) -> Cow<'_, Value> {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/obj.rs:341:15
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<str> {
[INFO] [stdout]     |               ^^^^^                       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/objects.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<str> {
[INFO] [stdout]    |                             ^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/typ.rs:748:24
[INFO] [stdout]     |
[INFO] [stdout] 748 |     pub fn all_methods(&self) -> Ref<Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 748 |     pub fn all_methods(&self) -> Ref<'_, Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/typ.rs:752:28
[INFO] [stdout]     |
[INFO] [stdout] 752 |     pub fn all_methods_mut(&self) -> RefMut<Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                            ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 752 |     pub fn all_methods_mut(&self) -> RefMut<'_, Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/check/check.rs:450:25
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer {
[INFO] [stdout]     |                         ^^^^^^^^^               ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> {
[INFO] [stdout]     |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:621:61
[INFO] [stdout]     |
[INFO] [stdout] 621 |         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stdout]     |                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 621 -         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stdout] 621 +         if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stdout]    --> src/check/interface.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 + #[derive(Clone)]
[INFO] [stdout] 132 | pub struct IfaceInfo {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:643:55
[INFO] [stdout]     |
[INFO] [stdout] 643 |         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stdout]     |                                                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 643 -         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stdout] 643 +         let info_ref = info.as_ref().unwrap().as_ref();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stdout]    --> src/check/interface.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 + #[derive(Clone)]
[INFO] [stdout] 132 | pub struct IfaceInfo {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:702:9
[INFO] [stdout]     |
[INFO] [stdout] 702 |         drop(info_ref);
[INFO] [stdout]     |         ^^^^^--------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&IfaceInfo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 702 -         drop(info_ref);
[INFO] [stdout] 702 +         let _ = info_ref;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `check::Checker`
[INFO] [stdout]   --> src/check/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub use check::Checker;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IfaceInfo`
[INFO] [stdout]   --> src/check/mod.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub use interface::{IfaceInfo, MethodInfo};
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/constant.rs:223:19
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub fn to_int(&self) -> Cow<Value> {
[INFO] [stdout]     |                   ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 223 |     pub fn to_int(&self) -> Cow<'_, Value> {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/obj.rs:341:15
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<str> {
[INFO] [stdout]     |               ^^^^^                       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |               |
[INFO] [stdout]     |               the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/objects.rs:54:29
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<str> {
[INFO] [stdout]    |                             ^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/typ.rs:748:24
[INFO] [stdout]     |
[INFO] [stdout] 748 |     pub fn all_methods(&self) -> Ref<Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 748 |     pub fn all_methods(&self) -> Ref<'_, Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/typ.rs:752:28
[INFO] [stdout]     |
[INFO] [stdout] 752 |     pub fn all_methods_mut(&self) -> RefMut<Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                            ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 752 |     pub fn all_methods_mut(&self) -> RefMut<'_, Option<Vec<ObjKey>>> {
[INFO] [stdout]     |                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/check/check.rs:450:25
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer {
[INFO] [stdout]     |                         ^^^^^^^^^               ^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> {
[INFO] [stdout]     |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:621:61
[INFO] [stdout]     |
[INFO] [stdout] 621 |         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stdout]     |                                                             ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 621 -         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stdout] 621 +         if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() {
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stdout]    --> src/check/interface.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 + #[derive(Clone)]
[INFO] [stdout] 132 | pub struct IfaceInfo {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:643:55
[INFO] [stdout]     |
[INFO] [stdout] 643 |         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stdout]     |                                                       ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 643 -         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stdout] 643 +         let info_ref = info.as_ref().unwrap().as_ref();
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stdout]    --> src/check/interface.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 + #[derive(Clone)]
[INFO] [stdout] 132 | pub struct IfaceInfo {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> src/check/typexpr.rs:702:9
[INFO] [stdout]     |
[INFO] [stdout] 702 |         drop(info_ref);
[INFO] [stdout]     |         ^^^^^--------^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&IfaceInfo`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 702 -         drop(info_ref);
[INFO] [stdout] 702 +         let _ = info_ref;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.30s
[INFO] running `Command { std: "docker" "inspect" "a0e8fc084e51029cc1a936d9338162c3252d33ad66244402ff87738fdfbf147f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0e8fc084e51029cc1a936d9338162c3252d33ad66244402ff87738fdfbf147f", kill_on_drop: false }`
[INFO] [stdout] a0e8fc084e51029cc1a936d9338162c3252d33ad66244402ff87738fdfbf147f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8db632a15ac7a8b0d14b72505bfacd2d94a18df73019e0cd63e6674b2a009151
[INFO] running `Command { std: "docker" "start" "-a" "8db632a15ac7a8b0d14b72505bfacd2d94a18df73019e0cd63e6674b2a009151", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `check::Checker`
[INFO] [stderr]   --> src/check/mod.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub use check::Checker;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `IfaceInfo`
[INFO] [stderr]   --> src/check/mod.rs:21:21
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub use interface::{IfaceInfo, MethodInfo};
[INFO] [stderr]    |                     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/constant.rs:223:19
[INFO] [stderr]     |
[INFO] [stderr] 223 |     pub fn to_int(&self) -> Cow<Value> {
[INFO] [stderr]     |                   ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                   |
[INFO] [stderr]     |                   the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 223 |     pub fn to_int(&self) -> Cow<'_, Value> {
[INFO] [stderr]     |                                 +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/obj.rs:341:15
[INFO] [stderr]     |
[INFO] [stderr] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<str> {
[INFO] [stderr]     |               ^^^^^                       ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |               |
[INFO] [stderr]     |               the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 341 |     pub fn id(&self, objs: &TCObjects) -> Cow<'_, str> {
[INFO] [stderr]     |                                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/objects.rs:54:29
[INFO] [stderr]    |
[INFO] [stderr] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<str> {
[INFO] [stderr]    |                             ^^^^^^^^     ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                             |
[INFO] [stderr]    |                             the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 54 | fn default_fmt_qualifier(p: &Package) -> Cow<'_, str> {
[INFO] [stderr]    |                                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/typ.rs:748:24
[INFO] [stderr]     |
[INFO] [stderr] 748 |     pub fn all_methods(&self) -> Ref<Option<Vec<ObjKey>>> {
[INFO] [stderr]     |                        ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                        |
[INFO] [stderr]     |                        the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 748 |     pub fn all_methods(&self) -> Ref<'_, Option<Vec<ObjKey>>> {
[INFO] [stderr]     |                                      +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/typ.rs:752:28
[INFO] [stderr]     |
[INFO] [stderr] 752 |     pub fn all_methods_mut(&self) -> RefMut<Option<Vec<ObjKey>>> {
[INFO] [stderr]     |                            ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                            |
[INFO] [stderr]     |                            the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 752 |     pub fn all_methods_mut(&self) -> RefMut<'_, Option<Vec<ObjKey>>> {
[INFO] [stderr]     |                                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/check/check.rs:450:25
[INFO] [stderr]     |
[INFO] [stderr] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer {
[INFO] [stderr]     |                         ^^^^^^^^^               ^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                         |
[INFO] [stderr]     |                         the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 450 |     pub fn new_importer(&mut self, pos: Pos) -> Importer<'_> {
[INFO] [stderr]     |                                                         ++++
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/check/typexpr.rs:621:61
[INFO] [stderr]     |
[INFO] [stderr] 621 |         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stderr]     |                                                             ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 621 -         if info.is_none() || info.as_ref().unwrap().as_ref().borrow().is_empty() {
[INFO] [stderr] 621 +         if info.is_none() || info.as_ref().unwrap().as_ref().is_empty() {
[INFO] [stderr]     |
[INFO] [stderr] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stderr]    --> src/check/interface.rs:131:1
[INFO] [stderr]     |
[INFO] [stderr] 131 + #[derive(Clone)]
[INFO] [stderr] 132 | pub struct IfaceInfo {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/check/typexpr.rs:643:55
[INFO] [stderr]     |
[INFO] [stderr] 643 |         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stderr]     |                                                       ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `IfaceInfo` does not implement `Borrow`, so calling `borrow` on `&IfaceInfo` copies the reference, which does not do anything and can be removed
[INFO] [stderr] help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr] 643 -         let info_ref = info.as_ref().unwrap().as_ref().borrow();
[INFO] [stderr] 643 +         let info_ref = info.as_ref().unwrap().as_ref();
[INFO] [stderr]     |
[INFO] [stderr] help: if you meant to clone `IfaceInfo`, implement `Clone` for it
[INFO] [stderr]    --> src/check/interface.rs:131:1
[INFO] [stderr]     |
[INFO] [stderr] 131 + #[derive(Clone)]
[INFO] [stderr] 132 | pub struct IfaceInfo {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> src/check/typexpr.rs:702:9
[INFO] [stderr]     |
[INFO] [stderr] 702 |         drop(info_ref);
[INFO] [stderr]     |         ^^^^^--------^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              argument has type `&IfaceInfo`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     |
[INFO] [stderr] 702 -         drop(info_ref);
[INFO] [stderr] 702 +         let _ = info_ref;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `goscript-types` (lib) generated 11 warnings (run `cargo fix --lib -p goscript-types` to apply 10 suggestions)
[INFO] [stderr] warning: `goscript-types` (lib test) generated 11 warnings (11 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/goscript_types-6351299e12e63717)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test constant::test::test_str_unquote ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/test.rs (/opt/rustwide/target/debug/deps/test-87b05875e399a889)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test_temp ... ok
[INFO] [stdout] test test_auto ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_auto stdout ----
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/builtins.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/const0.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/const1.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/constdecl.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/conversions.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/conversions2.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles1.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles2.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles3.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles4.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/cycles5.gos"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls0.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls1.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls2"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls3.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls4.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/decls5.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/errors.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/expr0.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/expr2.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/expr3.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/gotos.src"
[INFO] [stdout] [tests/test.rs:63:5] path = "./tests/data/importdecl0"
[INFO] [stdout] 
[INFO] [stdout] thread 'test_auto' (20) panicked at tests/test.rs:105:17:
[INFO] [stdout] unexpected error(1): [TC] tests/data/importdecl0/importdecl0b.src:11:8  unsafe imported but not used
[INFO] [stdout] 
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55c4a86a6a9a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x55c4a86a6a9a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x55c4a86a6a9a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x55c4a86a6a9a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x55c4a86bc69a - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x55c4a86bc69a - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x55c4a86ab642 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x55c4a86ab642 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x55c4a868512f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x55c4a868512f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x55c4a869ea79 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x55c4a81fcf7c - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x55c4a81fcf7c - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x55c4a869ec32 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x55c4a869ec32 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x55c4a86851e8 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x55c4a867c979 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x55c4a8685efd - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x55c4a86bcedc - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x55c4a81e413d - test[4cdc1327d5f856bf]::test_file
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test.rs:105:17
[INFO] [stdout]   20:     0x55c4a81e437e - test[4cdc1327d5f856bf]::test_auto
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test.rs:184:5
[INFO] [stdout]   21:     0x55c4a81e2c87 - test[4cdc1327d5f856bf]::test_auto::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/test.rs:159:15
[INFO] [stdout]   22:     0x55c4a81ee406 - <test[4cdc1327d5f856bf]::test_auto::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x55c4a81f105b - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x55c4a81f105b - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   25:     0x55c4a81fda4b - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   26:     0x55c4a81fda4b - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   27:     0x55c4a81fda4b - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   28:     0x55c4a81fda4b - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   29:     0x55c4a81fda4b - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x55c4a81fda4b - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   31:     0x55c4a81fda4b - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   32:     0x55c4a81f9164 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   33:     0x55c4a81f9164 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   34:     0x55c4a8200652 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   35:     0x55c4a8200652 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   36:     0x55c4a8200652 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   37:     0x55c4a8200652 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   38:     0x55c4a8200652 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x55c4a8200652 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   40:     0x55c4a8200652 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x55c4a86a604f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   42:     0x55c4a86a604f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   43:     0x76bda4c47aa4 - <unknown>
[INFO] [stdout]   44:     0x76bda4cd4a64 - clone
[INFO] [stdout]   45:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_auto
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test test`
[INFO] running `Command { std: "docker" "inspect" "8db632a15ac7a8b0d14b72505bfacd2d94a18df73019e0cd63e6674b2a009151", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8db632a15ac7a8b0d14b72505bfacd2d94a18df73019e0cd63e6674b2a009151", kill_on_drop: false }`
[INFO] [stdout] 8db632a15ac7a8b0d14b72505bfacd2d94a18df73019e0cd63e6674b2a009151
